package com.cjyd.hrjb.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created fei wo by 2020/4/5
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "xet")
public class XetConfig {

    @Value("app-id")
    private String appId;

    @Value("client-id")
    private String clientId;

    @Value("secret-key")
    private String secretKey;

    @Value("grant-type")
    private String grantType;

}
